package cn.feilue.app.service;

import cn.feilue.app.service.commone.RecipientParam;
import cn.feilue.app.service.commone.SendOptEnum;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


public interface PersonnelService {


    @PostMapping("/add")
    public ResponseEntity addRecipient(@RequestBody RecipientParam param) throws Exception;

    public List<String> recipientList(SendOptEnum sendOptEnum);


}
